/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.msk.wlhy.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.msk.base.domain.goods.Goods;
import com.msk.common.utils.DictUtils;
import com.msk.sys.domain.DataEntity;
import com.msk.sys.domain.Office;
import com.msk.sys.domain.User;
import com.msk.sys.utils.DictMskUtils;
import org.apache.commons.lang3.StringUtils;
import org.hibernate.validator.constraints.Length;
import java.util.Date;

/**
 * @author 作者: zkp@xiangyou.com
 * @description 描述:运输单明细管理Entity
 * @date 时间: 2018-06-08
 * @return 返回值: null
 */
public class HtTransportDetail extends DataEntity<HtTransportDetail> {

	private static final long serialVersionUID = 1L;
	private Office company;
	private Office office;
	private String orderDetailId;
	private String transportId;
	private Double beforeGoodsWeight;
	private Double goodsWeight;
	private String userId;
	private String unRead;

	private String attstr05;
	
	private String attstr05Alias;
	
	private Double afterGoodsWeight;

	private Double lossWeight;

	private String lossRate;

	private String orderNo;
	private Double freight;
	private String startPlace;
	private String startArea;
	private String startAreaName;
	private Date startDate;
	private Date startDateStart;
	private Date startDateEnd;
	private String endPlace;
	private String endArea;
	private String endAreaName;
	private Date endDate;
	private String punching;
	private Date punchTime;
	private String cardCoordinate;
	private String carLoad; //车辆载重
	private String attstr01; //待发运
	private String attstr02; //已发运
	private String attstr03; //已签收
	private String attstr04; //已收款
	private String attstr06; //待录入

	public String getAttstr06() {
		return attstr06;
	}

	public void setAttstr06(String attstr06) {
		this.attstr06 = attstr06;
	}

	private Date attdate01;
	private Date attdate02;
	private String delFlagAlias; // 转换后的del_flag
	private HtLogisticsOrderDetail htLogisticsOrderDetail;
	private String driverId;
	private String carId;

	private HtTransportList htTransportList;
	private String goodsName;
	private double goodsLoad;
	private double allFreight;
	private double allFreight1;
	private double allFreightTwo;
	private String status; //0.未接单 1.待运输 2运输中 3 已完成
	private String statusAlias;

	private String companyCustomer;
	private String companyCustomee;
	private String companyCustomerName;
	private String companyCustomerNumber;
	private String companyCustomerName1;
	private String companyCustomerNumber1;
	private String auditStatus;// 核准状态
	private String auditStatusAlias;// 核准状态
	private Date auditDate;// 核准时间
	private User auditUser;// 核准人
	private String goodsType;//货物类型
	private String goodsTypeAlias;//货物类型
	private String carType;//车辆类型
	private String carTypeAlias;
	

	private String applyId;
	private String auditType;
	private String auditTypeAlias;
	private String isBilling;
	private String isBillingAlias;
	private String messageFunctionCode;
	private String errorMsg;
	
	private String carNumber;
	private String driverName;
	private String driverPhone;
	
	private double newGoodsWeight;
	private double newAllFreight;
	private String auditContent;
	private String settleType;
	private Integer num;//审核数量
	
	private String customerName;
	
	private String operationType;

	
	private String createByName; //创建人姓名
	
	private String vehicleOwnership;//车辆归属

	private String	memberId; //货主ID
	//add by wlxiang 20200826
	private String goodsCode;//货源编号
	//'任务描述
	private String taskDescription;

	//处理隐藏域
	private String freight1;
	//
	private String applyDateStr;
	private String bigNumber;
	private String shippingNoteNumber;
	private String applyCode;
	//货主合合同编号
	private String orderContractNo;

	private String publishWay;

	public String getCarLoad() {
		return carLoad;
	}

	public void setCarLoad(String carLoad) {
		this.carLoad = carLoad;
	}

	public String getMemberId() {
		return memberId;
	}

	/**
	 *add By wlxaing
	 * @date 20201207
	 * @param memberId
	 * start
	 */
	//policy_number 保险单号
	private String policyNumber  ;
	//insurance_company_code 保险公司代码
	private String insuranceCompanyCode;
	/**
	 * @date 20201207
	 * end
	 */

	private String invoiceTotal;
	private String invoiceStatus;
	private String  newApplyMoney;
	private String applyPaid;
	private String invoiceTime;
	private String endDate0;
	private String endDate1;
	private String isOverload; //是否允许超载

	public String getIsOverload() {
		return isOverload;
	}

	public void setIsOverload(String isOverload) {
		this.isOverload = isOverload;
	}

	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}

//	public String getCreateByName() {
//		User user = super.getCreateBy();
//		if (user!=null){
//			String id = user.getId();
//			if (id!=null && !"".equals(id)){
//				user = UserUtils.get(id);
//				if (user!=null){
//					return user.getName();
//				}
//			}
//		}
//		return null;
//	}

	public void setCreateByName(String createByName) {
		this.createByName = createByName;
	}
	
	
	private String originalNumber;

	private String dispatchCarNumber; //派车单号
	
	private double price;

	private double officialPriceOffer;
	
	private double recivePrice;
	
	private String startCoordinate;
	
	private String endCoordinate;

	private String gasolineNumber;

	private String reviceId;
	private String isreciveFlag;//是否已收款 0:未收款  1:已收款
	private String customerId;
	private String revicePrice;
	private String companyName;
	
	private String textRate; //税率
	private String rateMoney; //税额
	private String outRateMoney;//不含税金额

	private String otherFreight;//其他费用
	private String other_Type;//其他费用类型
	private String other_TypeAlias;//其他费用类型转换后类型
	private String goodsNums;//货物数量
	private String ifSucess;
	private String ifSucessAlias;
	
	private Double freightMoney;
	
	private String otherfreightType;

	private String otherfreightTypeAlias;		// 转换后的其他费用类型		
	
	private Date beginUpdateDate;		// 开始 修改时间
	private Date endUpdateDate;		// 结束 修改时间
	private String orderId;

	private String evaluateId; //评价ID
	private String evaluateStatus; //评价状态
	private Integer evaluatePackage; //包装满意度
	private Integer evaluateSafe;   //运输安全性
	private Integer evaluateAttitude;   //服务态度
	private String remarks;

	private Goods goods;//货源信息
	private String supplierName;//承运人信息
	private String supplierUser;//承运商id

	private String insuranceFile; //保单
	private Date insuranceUploadTime;  // 保单上传时间
	private String insuranceCompanyName; //保险公司名称
	private Double goodsTotalPrice;//货物总价
	private String distance;//运距

	private String contacts; //发货联系人
	private String contactsId; //发货联系人公司ID

	private String contacts1; //收货联系人
	private String contactsId1; //收货联系人ID

	//计价方式 1:吨/公里 2:整车' 3:元/吨;
	private String priceWay;
	private String priceWayAlias;

	public String getInsuranceCompanyName() {
		if (StringUtils.isNotBlank(insuranceCompanyCode)) {
			insuranceCompanyName = DictMskUtils.getDictLabel(insuranceCompanyCode, "insurance_code", "");
		}
		return insuranceCompanyName;
	}

	public void setInsuranceCompanyName(String insuranceCompanyName) {
		this.insuranceCompanyName = insuranceCompanyName;
	}

	public String getContactsId() {
		return contactsId;
	}

	public void setContactsId(String contactsId) {
		this.contactsId = contactsId;
	}

	public String getContactsId1() {
		return contactsId1;
	}

	public void setContactsId1(String contactsId1) {
		this.contactsId1 = contactsId1;
	}

	public String getSupplierName() {
		return supplierName;
	}

	public void setSupplierName(String supplierName) {
		this.supplierName = supplierName;
	}

	public String getSupplierUser() {
		return supplierUser;
	}

	public void setSupplierUser(String supplierUser) {
		this.supplierUser = supplierUser;
	}

	public Goods getGoods() {
		return goods;
	}

	public void setGoods(Goods goods) {
		this.goods = goods;
	}

	public String getEvaluateId() {
		return evaluateId;
	}

	public void setEvaluateId(String evaluateId) {
		this.evaluateId = evaluateId;
	}

	public String getEvaluateStatus() {
		return evaluateStatus;
	}

	public void setEvaluateStatus(String evaluateStatus) {
		this.evaluateStatus = evaluateStatus;
	}

	public Double getFreightMoney() {
return freightMoney;
}

public void setFreightMoney(Double freightMoney) {
this.freightMoney = freightMoney;
}



	public String getOtherfreightTypeAlias() {
		if(StringUtils.isBlank(otherfreightTypeAlias)){
			return DictUtils.getDictLabel(otherfreightType, "otherfreight_type", "");
		}
		return otherfreightTypeAlias;
	}



	public void setOtherfreightTypeAlias(String otherfreightTypeAlias) {
		this.otherfreightTypeAlias = otherfreightTypeAlias;
	}
	
	 
	private String referPrice;     //查询合同单价
	
	private String referRevicePrice;  //查询合同运费

	private double sumAllFreight;//合同执行单已运货物总运费

	private double sumAllRecivePrice;//合同执行单已运货物合同总运费

	public double getSumAllRecivePrice() {
		return sumAllRecivePrice;
	}

	public void setSumAllRecivePrice(double sumAllRecivePrice) {
		this.sumAllRecivePrice = sumAllRecivePrice;
	}

	public double getSumAllFreight() {
		return sumAllFreight;
	}

	public void setSumAllFreight(double sumAllFreight) {
		this.sumAllFreight = sumAllFreight;
	}

	public String getReferPrice() {
		return referPrice;
	}

	public void setReferPrice(String referPrice) {
		this.referPrice = referPrice;
	}

	public String getReferRevicePrice() {
		return referRevicePrice;
	}

	public void setReferRevicePrice(String referRevicePrice) {
		this.referRevicePrice = referRevicePrice;
	}

	private Integer settledNo;

	private Integer unSettledNo;

	private Double gasolineBalance;
	
	private String paid;
	
	private String apply;
	
	private Date leaderAuditTime;
	
	private Double settledMoney;
	
	private Double unSettledMoney;
	//发布货源总重量
	private String publishWeight;
	
	//SDK结束行程标识
	private Short sdkEndTrip;
	//SDK开始行程标识
	private Short sdkStartTrip;
	
	//收入或支出筛选状态
	private String dateStatus;
	//筛选开始日期
	private String filterStartDate;
	//筛选结束日期
	private String filterEndDate;

	public String getFilterStartDate() {
		return filterStartDate;
	}

	public void setFilterStartDate(String filterStartDate) {
		this.filterStartDate = filterStartDate;
	}

	public String getFilterEndDate() {
		return filterEndDate;
	}

	public void setFilterEndDate(String filterEndDate) {
		this.filterEndDate = filterEndDate;
	}

	public String getDateStatus() {
		return dateStatus;
	}

	public void setDateStatus(String dateStatus) {
		this.dateStatus = dateStatus;
	}

	public Short getSdkEndTrip() {
		return sdkEndTrip;
	}

	public void setSdkEndTrip(Short sdkEndTrip) {
		this.sdkEndTrip = sdkEndTrip;
	}

	public Short getSdkStartTrip() {
		return sdkStartTrip;
	}

	public void setSdkStartTrip(Short sdkStartTrip) {
		this.sdkStartTrip = sdkStartTrip;
	}

	public String getPublishWeight() {
		return publishWeight;
	}

	public void setPublishWeight(String publishWeight) {
		this.publishWeight = publishWeight;
	}

	public Double getUnSettledMoney() {
		if (unSettledMoney == null) {
			return unSettledMoney = 0.0;
		}
		return unSettledMoney;
	}

	public void setUnSettledMoney(Double unSettledMoney) {
		this.unSettledMoney = unSettledMoney;
	}

	public Double getSettledMoney() {
		return settledMoney;
	}

	public void setSettledMoney(Double settledMoney) {
		this.settledMoney = settledMoney;
	}

	public Integer getSettledNo() {
		return settledNo;
	}

	public void setSettledNo(Integer settledNo) {
		this.settledNo = settledNo;
	}

	public Integer getUnSettledNo() {
		return unSettledNo;
	}

	public void setUnSettledNo(Integer unSettledNo) {
		this.unSettledNo = unSettledNo;
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getLeaderAuditTime() {
		return leaderAuditTime;
	}

	public void setLeaderAuditTime(Date leaderAuditTime) {
		this.leaderAuditTime = leaderAuditTime;
	}

	@Length(min=0, max=2, message="申请状态长度必须介于 0 和 2之间")
	public String getApply() {
		return apply;
	}

	public void setApply(String apply) {
		this.apply = apply;
	}

	@Length(min=0, max=2, message="货主付款状态长度必须介于 0 和 2之间")
	public String getPaid() {
		return paid;
	}

	public void setPaid(String paid) {
		this.paid = paid;
	}

	@Length(min=0, max=64, message="油卡号长度必须介于 0 和 64之间")
	public String getGasolineNumber() {
		return gasolineNumber;
	}

	public void setGasolineNumber(String gasolineNumber) {
		this.gasolineNumber = gasolineNumber;
	}
	
	public Double getGasolineBalance() {
		return gasolineBalance;
	}

	public void setGasolineBalance(Double gasolineBalance) {
		this.gasolineBalance = gasolineBalance;
	}

	@Length(min=0, max=255, message="开始位置坐标长度必须介于 0 和 255之间")
	public String getStartCoordinate() {
		return startCoordinate;
	}

	public void setStartCoordinate(String startCoordinate) {
		this.startCoordinate = startCoordinate;
	}

	@Length(min=0, max=255, message="结束位置坐标长度必须介于 0 和 255之间")
	public String getEndCoordinate() {
		return endCoordinate;
	}

	public void setEndCoordinate(String endCoordinate) {
		this.endCoordinate = endCoordinate;
	}

	
	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
			this.price = price;
	}

	public double getOfficialPriceOffer() {
		return officialPriceOffer;
	}

	public void setOfficialPriceOffer(double officialPriceOffer) {
		this.officialPriceOffer = officialPriceOffer;
	}

	@Length(min=0, max=64, message="原始单号长度必须介于 0 和 64之间")
	public String getOriginalNumber() {
		return originalNumber;
	}

	public void setOriginalNumber(String originalNumber) {
		this.originalNumber = originalNumber;
	}

	public String getApplyId() {
		return applyId;
	}

	public void setApplyId(String applyId) {
		this.applyId = applyId;
	}

	public String getAuditType() {
		return auditType;
	}

	public void setAuditType(String auditType) {
		this.auditType = auditType;
	}

	public String getAuditTypeAlias() {
		if (StringUtils.isBlank(auditTypeAlias)) {
			auditTypeAlias = DictUtils.getDictLabel(auditType, "is_audit_type", "");
		}
		return auditTypeAlias;
	}

	public void setAuditTypeAlias(String auditTypeAlias) {
		this.auditTypeAlias = auditTypeAlias;
	}

	public String getIsBilling() {
		return isBilling;
	}

	public void setIsBilling(String isBilling) {
		this.isBilling = isBilling;
	}

	public String getIsBillingAlias() {
		if (StringUtils.isBlank(isBillingAlias)) {
			return DictUtils.getDictLabel(isBilling, "invoice_type", "");
		}
		return isBillingAlias;
	}

	public void setIsBillingAlias(String isBillingAlias) {
		this.isBillingAlias = isBillingAlias;
	}

	public HtTransportDetail() {
		super();
	}

	public HtTransportDetail(String id) {
		super(id);
	}

	@Length(min = 0, max = 64, message = "订单明细表id长度必须介于 0 和 64 之间")
	public String getOrderDetailId() {
		return orderDetailId;
	}

	public void setOrderDetailId(String orderDetailId) {
		this.orderDetailId = orderDetailId;
	}

	@Length(min = 0, max = 64, message = "发货单id长度必须介于 0 和 64 之间")
	public String getTransportId() {
		return transportId;
	}

	public void setTransportId(String transportId) {
		this.transportId = transportId;
	}

	public Double getGoodsWeight() {
		return goodsWeight;
	}

	public void setGoodsWeight(Double goodsWeight) {
		this.goodsWeight = goodsWeight;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUnRead() {
		return unRead;
	}

	public void setUnRead(String unRead) {
		this.unRead = unRead;
	}

	public Double getFreight() {
		return freight;
	}

	public void setFreight(Double freight) {
		this.freight = freight;
	}

	@Length(min = 0, max = 100, message = "起运地点长度必须介于 0 和 100 之间")
	public String getStartPlace() {
		return startPlace;
	}

	public void setStartPlace(String startPlace) {
		this.startPlace = startPlace;
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	@Length(min = 0, max = 100, message = "到达地点长度必须介于 0 和 100 之间")
	public String getEndPlace() {
		return endPlace;
	}

	public void setEndPlace(String endPlace) {
		this.endPlace = endPlace;
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	@Length(min = 0, max = 100, message = "打卡地点长度必须介于 0 和 100 之间")
	public String getPunching() {
		return punching;
	}

	public void setPunching(String punching) {
		this.punching = punching;
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getPunchTime() {
		return punchTime;
	}

	public void setPunchTime(Date punchTime) {
		this.punchTime = punchTime;
	}

	@Length(min = 0, max = 100, message = "打卡坐标长度必须介于 0 和 100 之间")
	public String getCardCoordinate() {
		return cardCoordinate;
	}

	public void setCardCoordinate(String cardCoordinate) {
		this.cardCoordinate = cardCoordinate;
	}

	@Length(min = 0, max = 200, message = "attstr01长度必须介于 0 和 200 之间")
	public String getAttstr01() {
		return attstr01;
	}

	public void setAttstr01(String attstr01) {
		this.attstr01 = attstr01;
	}

	@Length(min = 0, max = 1024, message = "attstr02长度必须介于 0 和 200 之间")
	public String getAttstr02() {
		return attstr02;
	}

	public void setAttstr02(String attstr02) {
		this.attstr02 = attstr02;
	}

	@Length(min = 0, max = 200, message = "attstr03长度必须介于 0 和 200 之间")
	public String getAttstr03() {
		return attstr03;
	}

	public void setAttstr03(String attstr03) {
		this.attstr03 = attstr03;
	}

	@Length(min = 0, max = 200, message = "attstr04长度必须介于 0 和 200 之间")
	public String getAttstr04() {
		return attstr04;
	}

	public void setAttstr04(String attstr04) {
		this.attstr04 = attstr04;
	}
	
	
	@Length(min=0, max=200, message="attstr05长度必须介于 0 和 200 之间")
	public String getAttstr05() {
		return attstr05;
	}

	public void setAttstr05(String attstr05) {
		this.attstr05 = attstr05;
	}
	public String getAttstr05Alias() {
		if(StringUtils.isBlank(attstr05Alias)){
			return DictUtils.getDictLabel(attstr05, "unit_type", "吨");
		}
		return attstr05Alias;
	}

	
	public void setAttstr05Alias(String attstr05Alias) {
		this.attstr05Alias = attstr05Alias;
	}
	
	
	

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getAttdate01() {
		return attdate01;
	}

	public void setAttdate01(Date attdate01) {
		this.attdate01 = attdate01;
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getAttdate02() {
		return attdate02;
	}

	public void setAttdate02(Date attdate02) {
		this.attdate02 = attdate02;
	}

	public String getDelFlagAlias() {
		if (StringUtils.isBlank(delFlagAlias)) {
			return DictUtils.getDictLabel(delFlag, "del_flag", "");
		}
		return delFlagAlias;
	}

	public void setDelFlagAlias(String delFlagAlias) {
		this.delFlagAlias = delFlagAlias;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public HtLogisticsOrderDetail getHtLogisticsOrderDetail() {
		return htLogisticsOrderDetail;
	}

	public void setHtLogisticsOrderDetail(HtLogisticsOrderDetail htLogisticsOrderDetail) {
		this.htLogisticsOrderDetail = htLogisticsOrderDetail;
	}

	public Double getBeforeGoodsWeight() {
		return beforeGoodsWeight;
	}

	public void setBeforeGoodsWeight(Double beforeGoodsWeight) {
		this.beforeGoodsWeight = beforeGoodsWeight;
	}

	public Double getAfterGoodsWeight() {
		return afterGoodsWeight;
	}

	public void setAfterGoodsWeight(Double afterGoodsWeight) {
		this.afterGoodsWeight = afterGoodsWeight;
	}

	public String getStartArea() {
		return startArea;
	}

	public void setStartArea(String startArea) {
		this.startArea = startArea;
	}

	public String getEndArea() {
		return endArea;
	}

	public void setEndArea(String endArea) {
		this.endArea = endArea;
	}

	public String getStartAreaName() {
		return startAreaName;
	}

	public void setStartAreaName(String startAreaName) {
		this.startAreaName = startAreaName;
	}

	public String getEndAreaName() {
		return endAreaName;
	}

	public void setEndAreaName(String endAreaName) {
		this.endAreaName = endAreaName;
	}

	public String getDriverId() {
		return driverId;
	}

	public void setDriverId(String driverId) {
		this.driverId = driverId;
	}

	public String getCarId() {
		return carId;
	}

	public void setCarId(String carId) {
		this.carId = carId;
	}
	
	public String getLogTitle() {
		return "运输单明细管理";
	}
	
//	public String getLogType() {
//		return Log.LogType.module_operate.name();
//	}

	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public double getGoodsLoad() {
		return goodsLoad;
	}

	public void setGoodsLoad(double goodsLoad) {
		this.goodsLoad = goodsLoad;
	}

	public double getAllFreight() {
		return allFreight;
	}

	public void setAllFreight(double allFreight) {
		this.allFreight = allFreight;
	}

	public Office getCompany() {
		return company;
	}

	public void setCompany(Office company) {
		this.company = company;
	}

	public Office getOffice() {
		return office;
	}

	public void setOffice(Office office) {
		this.office = office;
	}

	public HtTransportList getHtTransportList() {
		return htTransportList;
	}

	public void setHtTransportList(HtTransportList htTransportList) {
		this.htTransportList = htTransportList;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getStatusAlias() {
		if (StringUtils.isBlank(statusAlias)) {
			statusAlias = DictUtils.getDictLabel(status, "ht_order_status1", "");
		}
		return statusAlias;
	}

	public void setStatusAlias(String statusAlias) {
		this.statusAlias = statusAlias;
	}

	public String getCompanyCustomerName() {
		return companyCustomerName;
	}

	public void setCompanyCustomerName(String companyCustomerName) {
		this.companyCustomerName = companyCustomerName;
	}

	public String getCompanyCustomerNumber() {
		return companyCustomerNumber;
	}

	public void setCompanyCustomerNumber(String companyCustomerNumber) {
		this.companyCustomerNumber = companyCustomerNumber;
	}

	public String getCompanyCustomerName1() {
		return companyCustomerName1;
	}

	public void setCompanyCustomerName1(String companyCustomerName1) {
		this.companyCustomerName1 = companyCustomerName1;
	}

	public String getCompanyCustomerNumber1() {
		return companyCustomerNumber1;
	}

	public void setCompanyCustomerNumber1(String companyCustomerNumber1) {
		this.companyCustomerNumber1 = companyCustomerNumber1;
	}

	public Date getStartDateStart() {
		return startDateStart;
	}

	public void setStartDateStart(Date startDateStart) {
		this.startDateStart = startDateStart;
	}

	public Date getStartDateEnd() {
		return startDateEnd;
	}

	public void setStartDateEnd(Date startDateEnd) {
		this.startDateEnd = startDateEnd;
	}

	public String getAuditStatus() {
		return auditStatus;
	}

	public void setAuditStatus(String auditStatus) {
		this.auditStatus = auditStatus;
	}

	public String getAuditStatusAlias() {
		if (StringUtils.isBlank(auditStatusAlias)) {
			auditStatusAlias = DictUtils.getDictLabel(auditStatus, "audit_type", "未核准");
		}
		return auditStatusAlias;
	}

	public void setAuditStatusAlias(String auditStatusAlias) {
		this.auditStatusAlias = auditStatusAlias;
	}

	public Date getAuditDate() {
		return auditDate;
	}

	public void setAuditDate(Date auditDate) {
		this.auditDate = auditDate;
	}

	public User getAuditUser() {
		return auditUser;
	}

	public void setAuditUser(User user) {
		this.auditUser = user;
	}

	public String getMessageFunctionCode() {
		return messageFunctionCode;
	}

	public void setMessageFunctionCode(String messageFunctionCode) {
		this.messageFunctionCode = messageFunctionCode;
	}

	public String getErrorMsg() {
		return errorMsg;
	}

	public void setErrorMsg(String errorMsg) {
		this.errorMsg = errorMsg;
	}

	public String getCarNumber() {
		return carNumber;
	}

	public void setCarNumber(String carNumber) {
		this.carNumber = carNumber;
	}

	public String getDriverName() {
		return driverName;
	}

	public void setDriverName(String driverName) {
		this.driverName = driverName;
	}

	public String getDriverPhone() {
		return driverPhone;
	}

	public void setDriverPhone(String driverPhone) {
		this.driverPhone = driverPhone;
	}

	public double getNewGoodsWeight() {
		return newGoodsWeight;
	}

	public void setNewGoodsWeight(double newGoodsWeight) {
		this.newGoodsWeight = newGoodsWeight;
	}

	public double getNewAllFreight() {
		return newAllFreight;
	}

	public void setNewAllFreight(double newAllFreight) {
		this.newAllFreight = newAllFreight;
	}

	public String getAuditContent() {
		return auditContent;
	}

	public void setAuditContent(String auditContent) {
		this.auditContent = auditContent;
	}

	public String getSettleType() {
		return settleType;
	}

	public void setSettleType(String settleType) {
		this.settleType = settleType;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public String getReviceId() {
		return reviceId;
	}

	public void setReviceId(String reviceId) {
		this.reviceId = reviceId;
	}

	public String getIsreciveFlag() {
		return isreciveFlag;
	}

	public void setIsreciveFlag(String isreciveFlag) {
		this.isreciveFlag = isreciveFlag;
	}

	public String getCustomerId() {
		return customerId;
	}

	public void setCustomerId(String customerId) {
		this.customerId = customerId;
	}

	public String getRevicePrice() {
		if(StringUtils.isEmpty(revicePrice)){
			return "0";
		}
		return revicePrice;
	}

	public void setRevicePrice(String revicePrice) {
		this.revicePrice = revicePrice;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getTextRate() {
		return textRate;
	}

	public void setTextRate(String textRate) {
		this.textRate = textRate;
	}

	public String getRateMoney() {
		return rateMoney;
	}

	public void setRateMoney(String rateMoney) {
		this.rateMoney = rateMoney;
	}

	public String getOutRateMoney() {
		return outRateMoney;
	}

	public void setOutRateMoney(String outRateMoney) {
		this.outRateMoney = outRateMoney;
	}

	public String getOtherFreight() {
		return otherFreight;
	}

	public void setOtherFreight(String otherFreight) {
		this.otherFreight = otherFreight;
	}

	public String getOther_Type() {
		return other_Type;
	}

	public void setOther_Type(String other_Type) {
		this.other_Type = other_Type;
	}

	public String getOther_TypeAlias() {
		return other_TypeAlias;
	}

	public void setOther_TypeAlias(String other_TypeAlias) {
		this.other_TypeAlias = other_TypeAlias;
	}

	public String getGoodsNums() {
		return goodsNums;
	}

	public void setGoodsNums(String goodsNums) {
		this.goodsNums = goodsNums;
	}
	public String getIfSucess() {
		return ifSucess;
	}

	public void setIfSucess(String ifSucess) {
		this.ifSucess = ifSucess;
	}

	public String getIfSucessAlias() {
		if (StringUtils.isBlank(ifSucessAlias)) {
			return DictUtils.getDictLabel(ifSucess, "IF_sucess", "");
		}
		return ifSucessAlias;
	}

	public void setIfSucessAlias(String ifSucessAlias) {
		this.ifSucessAlias = ifSucessAlias;
	}

	public String getCustomerName() {
		return customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}

	public String getOperationType() {
		return operationType;
	}

	public void setOperationType(String operationType) {
		this.operationType = operationType;
	}


	public Date getBeginUpdateDate() {
		return beginUpdateDate;
	}

	public void setBeginUpdateDate(Date beginUpdateDate) {
		this.beginUpdateDate = beginUpdateDate;
	}

	public Date getEndUpdateDate() {
		return endUpdateDate;
	}

	public void setEndUpdateDate(Date endUpdateDate) {
		this.endUpdateDate = endUpdateDate;
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getOtherfreightType() {
		return otherfreightType;
	}

	public void setOtherfreightType(String otherfreightType) {
		this.otherfreightType = otherfreightType;
	}

	public double getAllFreight1() {
		return allFreight1;
	}

	public void setAllFreight1(double allFreight1) {
		this.allFreight1 = allFreight1;
	}

	public String getVehicleOwnership() {
		return vehicleOwnership;
	}

	public void setVehicleOwnership(String vehicleOwnership) {
		this.vehicleOwnership = vehicleOwnership;
	}

	public double getAllFreightTwo() {
		return allFreightTwo;
	}

	public void setAllFreightTwo(double allFreightTwo) {
		this.allFreightTwo = allFreightTwo;
	}

	public String getGoodsType() {
		return goodsType;
	}

	public void setGoodsType(String goodsType) {
		this.goodsType = goodsType;
	}
	public String getCarType() {
		return carType;
	}
	public String getGoodsTypeAlias() {
		if(StringUtils.isBlank(goodsTypeAlias)){
			return DictUtils.getDictLabel(goodsType, "goods_type", "");
		}
		return goodsTypeAlias;
	}
	public String getCarTypeAlias() {
		if (StringUtils.isBlank(carTypeAlias)) {
			return DictUtils.getDictLabel(carType, "car_type", "");
		}
		return carType;
	}


	public void setCarType(String carType) {
		this.carType = carType;
	}

	public void setGoodsTypeAlias(String goodsTypeAlias) {
		this.goodsTypeAlias = goodsTypeAlias;
	}

	public void setCarTypeAlias(String carTypeAlias) {
		this.carTypeAlias = carTypeAlias;
	}

	public double getRecivePrice() {
		return recivePrice;
	}

	public void setRecivePrice(double recivePrice) {
		this.recivePrice = recivePrice;
	}

	public String getDispatchCarNumber() {
		return dispatchCarNumber;
	}

	public void setDispatchCarNumber(String dispatchCarNumber) {
		this.dispatchCarNumber = dispatchCarNumber;
	}

	public String getInsuranceFile() {
		return insuranceFile;
	}

	public void setInsuranceFile(String insuranceFile) {
		this.insuranceFile = insuranceFile;
	}

	public Date getInsuranceUploadTime() {
		return insuranceUploadTime;
	}

	public void setInsuranceUploadTime(Date insuranceUploadTime) {
		this.insuranceUploadTime = insuranceUploadTime;
	}

	public Double getGoodsTotalPrice() {
		return goodsTotalPrice;
	}

	public void setGoodsTotalPrice(Double goodsTotalPrice) {
		this.goodsTotalPrice = goodsTotalPrice;
	}

	public String getDistance() {
		return distance;
	}

	public void setDistance(String distance) {
		this.distance = distance;
	}

	public String getContacts() {
		return contacts;
	}

	public void setContacts(String contacts) {
		this.contacts = contacts;
	}

	public String getContacts1() {
		return contacts1;
	}

	public void setContacts1(String contacts1) {
		this.contacts1 = contacts1;
	}

	public String getGoodsCode() {
		return goodsCode;
	}

	public void setGoodsCode(String goodsCode) {
		this.goodsCode = goodsCode;
	}

	public String getTaskDescription() {
		return taskDescription;
	}

	public void setTaskDescription(String taskDescription) {
		this.taskDescription = taskDescription;
	}

	public String getApplyDateStr() {
		return applyDateStr;
	}

	public void setApplyDateStr(String applyDateStr) {
		this.applyDateStr = applyDateStr;
	}

	public String getBigNumber() {
		return bigNumber;
	}

	public void setBigNumber(String bigNumber) {
		this.bigNumber = bigNumber;
	}

	public String getShippingNoteNumber() {
		return shippingNoteNumber;
	}

	public void setShippingNoteNumber(String shippingNoteNumber) {
		this.shippingNoteNumber = shippingNoteNumber;
	}

	public String getApplyCode() {
		return applyCode;
	}

	public void setApplyCode(String applyCode) {
		this.applyCode = applyCode;
	}

	public String getCompanyCustomer() {
		return companyCustomer;
	}

	public void setCompanyCustomer(String companyCustomer) {
		this.companyCustomer = companyCustomer;
	}

	public String getCompanyCustomee() {
		return companyCustomee;
	}

	public void setCompanyCustomee(String companyCustomee) {
		this.companyCustomee = companyCustomee;
	}

	public String getFreight1() {
		return freight1;
	}

	public void setFreight1(String freight1) {
		this.freight1 = freight1;
	}

	public String getPolicyNumber() {
		return policyNumber;
	}

	public void setPolicyNumber(String policyNumber) {
		this.policyNumber = policyNumber;
	}

	public String getInsuranceCompanyCode() {
		return insuranceCompanyCode;
	}

	public void setInsuranceCompanyCode(String insuranceCompanyCode) {
		this.insuranceCompanyCode = insuranceCompanyCode;
	}

	public String getOrderContractNo() {
		return orderContractNo;
	}

	public void setOrderContractNo(String orderContractNo) {
		this.orderContractNo = orderContractNo;
	}

	public String getPublishWay() {
		return publishWay;
	}

	public void setPublishWay(String publishWay) {
		this.publishWay = publishWay;
	}

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public String getInvoiceTotal() {
		return invoiceTotal;
	}

	public void setInvoiceTotal(String invoiceTotal) {
		this.invoiceTotal = invoiceTotal;
	}

	public String getInvoiceStatus() {
		return invoiceStatus;
	}

	public void setInvoiceStatus(String invoiceStatus) {
		this.invoiceStatus = invoiceStatus;
	}

	public String getNewApplyMoney() {
		return newApplyMoney;
	}

	public void setNewApplyMoney(String newApplyMoney) {
		this.newApplyMoney = newApplyMoney;
	}

	public String getApplyPaid() {
		return applyPaid;
	}

	public void setApplyPaid(String applyPaid) {
		this.applyPaid = applyPaid;
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public String getInvoiceTime() {
		return invoiceTime;
	}

	public void setInvoiceTime(String invoiceTime) {
		this.invoiceTime = invoiceTime;
	}

	public String getEndDate0() {
		return endDate0;
	}

	public void setEndDate0(String endDate0) {
		this.endDate0 = endDate0;
	}

	public String getEndDate1() {
		return endDate1;
	}

	public void setEndDate1(String endDate1) {
		this.endDate1 = endDate1;
	}

	public String getPriceWay() {
		return priceWay;
	}

	public void setPriceWay(String priceWay) {
		this.priceWay = priceWay;
	}

	public String getPriceWayAlias() {
		if (StringUtils.isNotBlank(priceWay)) {
			priceWayAlias = DictMskUtils.getDictLabel(priceWay, "price_way", "");
		}else{
			priceWayAlias = "吨公里";
		}
		return priceWayAlias;
	}

	public void setPriceWayAlias(String priceWayAlias) {
		this.priceWayAlias = priceWayAlias;
	}

	public Double getLossWeight() {
		return lossWeight;
	}

	public void setLossWeight(Double lossWeight) {
		this.lossWeight = lossWeight;
	}

	public String getLossRate() {
		return lossRate;
	}

	public void setLossRate(String lossRate) {
		this.lossRate = lossRate;
	}

	public Integer getEvaluatePackage() {
		return evaluatePackage;
	}

	public void setEvaluatePackage(Integer evaluatePackage) {
		this.evaluatePackage = evaluatePackage;
	}

	public Integer getEvaluateSafe() {
		return evaluateSafe;
	}

	public void setEvaluateSafe(Integer evaluateSafe) {
		this.evaluateSafe = evaluateSafe;
	}

	public Integer getEvaluateAttitude() {
		return evaluateAttitude;
	}

	public void setEvaluateAttitude(Integer evaluateAttitude) {
		this.evaluateAttitude = evaluateAttitude;
	}

	@Override
	public String getRemarks() {
		return remarks;
	}

	@Override
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
}